package chain_of_responsibility_pattern;

/**
 * @author: 叶子
 * @date: 2022/06/30 23:34
 * 第二步：创建扩展了该记录器的实体类
 **/
public class ConsoleLogger extends AbstractLogger{
    public ConsoleLogger(int level){
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Standard Console::logger: "+message);
    }
}